#include <sstream>
#include <iomanip>
#include <iostream>

class Student
{
public:
	std::string logLine() const;
	std::string lastName() const;
	std::string firstName() const;
	double flights() const;
	double hours() const;
	std::string firstDate() const;
	std::string lastDate() const;

	void setStudent(std::string newLogLine, std::string newLastName, std::string newFirstName);
	void addStudentHours(std::string Date, double newStudentHours);
	
	Student();
	Student::Student(std::istringstream& students_file);
	~Student();

private:
	std::string _logLine;
	std::string _lastName;
	std::string _firstName;
	double _flights;
	double _hours;
	std::string _firstDate;
	std::string _lastDate;
};
